/*
 * Hexagon.h
 *
 *  Created on: 2008-11-22
 *      Author: ck
 */

#ifndef HEXAGON_H_
#define HEXAGON_H_
#include <QGraphicsItem>

class Hexagon: public QObject, public QGraphicsItem {
	Q_OBJECT
public:
	Hexagon(int rx, int ry);
	QRectF boundingRect() const; //ewentualnie na pozniej
	void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
	QWidget *widget);
	virtual ~Hexagon();
private:
	int x;
	int y;
};

#endif /* HEXAGON_H_ */
